package {
	import flash.display.Sprite;
	import flash.events.Event;
	import flash.net.URLLoader;
	import flash.net.URLRequest;
	
	import org.abio.BasIU.Control.Label;
	import org.abio.XasML.core.Context;

	public class BasIU extends Sprite
	{
		private var context:Context=null;

		public function BasIU()
		{
			var urlLoader:URLLoader=new URLLoader();
			urlLoader.load(new URLRequest('assembleCfg.mxml'));
			urlLoader.addEventListener(Event.COMPLETE, function COMPLETE(e:Event):void{
				context=new Context(new XML(urlLoader.data));
				addChild(context);
				test();
			});
		}
		
		private function test():void{
			trace(this.context);
		}
	}
}
